﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;

namespace DropBoxClient.Entities
{
    [DataContract]
    public class AccountInfo
    {
        [DataMember(Name="uid")]
        public int Uid { get; set; }

        [DataMember(Name = "display_name")]
        public string DisplayName { get; set; }

        [DataMember(Name = "referral_link")]
        public string ReferralLink { get; set; }

        [DataMember(Name = "quota_info")]
        public QuotaInfo QuotaInfo { get; set; }
    }

    //    {
    //    "referral_link": "https://www.dropbox.com/referrals/r1a2n3d4m5s6t7",
    //    "display_name": "John P. User",
    //    "uid": 12345678,
    //    "country": "US",
    //    "quota_info": {
    //        "shared": 253738410565,
    //        "quota": 107374182400000,
    //        "normal": 680031877871
    //          }
    //      }
}
